﻿Public Class NF12_M
    Public Function guardarF12M(ByVal item As Entidades.EF12MotoVehiculos) As Boolean
        Dim oDatos As New Datos.DF12
        Dim oF12M As New List(Of Entidades.EF12MotoVehiculos)
        Dim band As Boolean
        Try
            band = oDatos.guardar(item)
        Catch ex As Exception
            Throw New ArgumentException(ex.Message)
        Finally
            oDatos = Nothing
        End Try
        Return band
    End Function

    Public Function editarF12M(ByVal item As Entidades.EF12MotoVehiculos) As Boolean
        Dim oDatos As New Datos.DF12
        Dim oF12M As New List(Of Entidades.EF12MotoVehiculos)
        Dim band As Boolean
        Try
            band = oDatos.modificar(item)
        Catch ex As Exception
            Throw New ArgumentException(ex.Message)
        Finally
            oDatos = Nothing
        End Try
        Return band
    End Function
End Class
